<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	
		<title>CMS</title>
	</head>
	
	<body>
	
	<?php $this->template->load("commons/header"); ?>
	
	<?php if(isset($page)):?>
		<?php $this->template->load("pages/$page"); ?>
	<?php endif;?>
	
	<?php $this->template->load("commons/footer"); ?>
	
	</body>	
</html>